package com.yoda.mall.api;

import com.yoda.mall.model.entity.pms.ProductAttribute;

import java.util.List;

/**
 * @author wangjia
 * @date 2022/12/17
 * @Description
 */
public interface AttributeApi {

    List<ProductAttribute> getAllattribute();

    void create(ProductAttribute attribute);

    void deleteIds(List<Integer> ids);

    ProductAttribute findOne(Long id);

    List<ProductAttribute> findPage(Long cid, Integer type, Integer pageNum, Integer pageSize);
}
